<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>嵌套网页</title>
    <style>
      .area {
        margin: 20px auto;
        width: 800px;
        height: 400px;
      }
    </style>
  </head>
  <body>
    <div class="area">
      <!-- 嵌套网页 -->
      <iframe src="https://www.sina.com.cn/" frameborder="0" width="100%" height="100%"></iframe>
    </div>
    <div class="area">
      <iframe src="./test.html" frameborder="0" width="100%" height="100%"></iframe>
    </div>
    <div class="area"></div>
  </body>
</html>
